
const { ccclass, property } = cc._decorator;

@ccclass
export default class PhycisEnable extends cc.Component {

    onLoad() {
        let manager = cc.director.getPhysicsManager();
        manager.enabled = true;
        manager.gravity = cc.v2(0, -1000);
    }

    start() {

    }

    // update (dt) {}
}
